package com.wwwarehouse.resource_center.bean.goods;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Joseph on 2017/10/24.
 *         <p/>
 */

public class ModifyDeleteBean implements Parcelable {


    /**
     * list : [{"abstractObjectUkid":22123600000006218,"attributeList":[{"attributeName":"TEST尺寸10005","attributeUkid":201710005,"createTime":"2017-09-26 20:56:52","createUserId":1000021,"metaAttributeUkid":12314141007,"updateTime":"2017-09-26 20:56:52","updateUserId":1000021}],"categoryList":[{"categoryTreeUkid":22110800000003205,"categoryUkid":22110300000004219,"childNodeCount":0,"createTime":"2017-10-11 14:55:41","createUserId":260001,"leafNode":"1","level":4,"metaCategoryUkid":52095306576997066,"name":"莲子","parentMetaCategoryUkid":52095506343026065,"source":"0","updateTime":"2017-10-11 14:55:41","updateUserId":260001}],"cmAddress":{"address":"科技园路","addressUkid":22110500000047088,"areaId":"330104","countryId":"CN","gsMapPoint":{"createTime":"2017-09-30 14:06:53","createUserId":10002099,"mapPointUkid":22099200000003088,"mapUkid":1,"x":30.306339,"y":120.369759,"z":0}},"createTime":"2017-10-25 10:32:09","createUserId":10001977,"definedName":"验证bug1111","definedType":"H_SALE","definedUkid":22110500000047113,"definerId":19920210,"identifyList":[{"createTime":"2017-10-25 10:32:09","createUserId":10001977,"identifyCode":"888000009900JKIGHG11","identifyName":"0","identifyUkid":22123300000006251,"updateTime":"2017-10-25 10:32:09"}],"introduction":"描述9999000","labelList":[{"createTime":"2017-09-20 19:15:05","createUserId":10000001,"labelName":"彼此彼此吧","labelType":"0","labelUkid":22089200000001034,"ownerUkid":10001359,"updateTime":"2017-09-20 19:15:05","updateUserId":10000001},{"createTime":"2017-09-20 18:23:32","createUserId":10000001,"labelName":"步行街想那些","labelType":"0","labelUkid":22088700000007035,"ownerUkid":10001359,"updateTime":"2017-09-20 18:23:32","updateUserId":10000001},{"createTime":"2017-09-20 20:19:09","createUserId":10000001,"labelName":"精彩继续小姐","labelType":"0","labelUkid":22089300000001044,"ownerUkid":10001359,"updateTime":"2017-09-20 20:19:09","updateUserId":10000001},{"createTime":"2017-09-21 09:38:24","createUserId":10000001,"labelName":"你才能信","labelType":"0","labelUkid":22089500000001010,"ownerUkid":10001359,"updateTime":"2017-09-21 09:38:24","updateUserId":10000001},{"createTime":"2017-09-21 09:55:26","createUserId":10000001,"labelName":"就放假几号发货","labelType":"0","labelUkid":22089500000001016,"ownerUkid":10001359,"updateTime":"2017-09-21 09:55:26","updateUserId":10000001}],"mediaList":[{"createTime":"2017-10-25 10:32:09","createUserId":10001977,"fileExt":"JPEG","mediaGroupUkid":22123500000006221,"mediaName":"d478af67e1774bf4a3c5ee2efff7f0b6.jpeg","mediaSize":71735,"mediaStatus":"1","mediaType":"0","mediaUkid":22123600000006219,"relatedUrl":"https://192.168.6.93/resource/d478af67e1774bf4a3c5ee2efff7f0b6.jpeg","storeType":"L","updateTime":"2017-10-25 10:32:09"}],"name":"TEST修改商品","ownerUkid":19920210,"status":"1","type":"H_GOODS","unitName":"单使07","unitUkid":22119900000004066,"updateTime":"2017-10-25 10:32:09"}]
     * page : 1
     * size : 7
     * total : 7
     */

    private int page;
    private int size;
    private int total;
    private List<ListBean> list;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Parcelable {
        /**
         * abstractObjectUkid : 22123600000006218
         * attributeList : [{"attributeName":"TEST尺寸10005","attributeUkid":201710005,"createTime":"2017-09-26 20:56:52","createUserId":1000021,"metaAttributeUkid":12314141007,"updateTime":"2017-09-26 20:56:52","updateUserId":1000021}]
         * categoryList : [{"categoryTreeUkid":22110800000003205,"categoryUkid":22110300000004219,"childNodeCount":0,"createTime":"2017-10-11 14:55:41","createUserId":260001,"leafNode":"1","level":4,"metaCategoryUkid":52095306576997066,"name":"莲子","parentMetaCategoryUkid":52095506343026065,"source":"0","updateTime":"2017-10-11 14:55:41","updateUserId":260001}]
         * cmAddress : {"address":"科技园路","addressUkid":22110500000047088,"areaId":"330104","countryId":"CN","gsMapPoint":{"createTime":"2017-09-30 14:06:53","createUserId":10002099,"mapPointUkid":22099200000003088,"mapUkid":1,"x":30.306339,"y":120.369759,"z":0}}
         * createTime : 2017-10-25 10:32:09
         * createUserId : 10001977
         * definedName : 验证bug1111
         * definedType : H_SALE
         * definedUkid : 22110500000047113
         * definerId : 19920210
         * identifyList : [{"createTime":"2017-10-25 10:32:09","createUserId":10001977,"identifyCode":"888000009900JKIGHG11","identifyName":"0","identifyUkid":22123300000006251,"updateTime":"2017-10-25 10:32:09"}]
         * introduction : 描述9999000
         * labelList : [{"createTime":"2017-09-20 19:15:05","createUserId":10000001,"labelName":"彼此彼此吧","labelType":"0","labelUkid":22089200000001034,"ownerUkid":10001359,"updateTime":"2017-09-20 19:15:05","updateUserId":10000001},{"createTime":"2017-09-20 18:23:32","createUserId":10000001,"labelName":"步行街想那些","labelType":"0","labelUkid":22088700000007035,"ownerUkid":10001359,"updateTime":"2017-09-20 18:23:32","updateUserId":10000001},{"createTime":"2017-09-20 20:19:09","createUserId":10000001,"labelName":"精彩继续小姐","labelType":"0","labelUkid":22089300000001044,"ownerUkid":10001359,"updateTime":"2017-09-20 20:19:09","updateUserId":10000001},{"createTime":"2017-09-21 09:38:24","createUserId":10000001,"labelName":"你才能信","labelType":"0","labelUkid":22089500000001010,"ownerUkid":10001359,"updateTime":"2017-09-21 09:38:24","updateUserId":10000001},{"createTime":"2017-09-21 09:55:26","createUserId":10000001,"labelName":"就放假几号发货","labelType":"0","labelUkid":22089500000001016,"ownerUkid":10001359,"updateTime":"2017-09-21 09:55:26","updateUserId":10000001}]
         * mediaList : [{"createTime":"2017-10-25 10:32:09","createUserId":10001977,"fileExt":"JPEG","mediaGroupUkid":22123500000006221,"mediaName":"d478af67e1774bf4a3c5ee2efff7f0b6.jpeg","mediaSize":71735,"mediaStatus":"1","mediaType":"0","mediaUkid":22123600000006219,"relatedUrl":"https://192.168.6.93/resource/d478af67e1774bf4a3c5ee2efff7f0b6.jpeg","storeType":"L","updateTime":"2017-10-25 10:32:09"}]
         * name : TEST修改商品
         * ownerUkid : 19920210
         * status : 1
         * type : H_GOODS
         * unitName : 单使07
         * unitUkid : 22119900000004066
         * updateTime : 2017-10-25 10:32:09
         */

        private String abstractObjectUkid;
        private CmAddressBean cmAddress;
        private String createTime;
        private String createUserId;
        private String definedName;
        private String definedType;
        private String definedUkid;
        private String definerId;
        private String introduction;
        private String name;
        private String ownerUkid;
        private String status;
        private String thumbnail;
        private String type;
        private String unitName;
        private String unitUkid;
        private String unitCharacter="";
        private String updateTime;
        private List<AttributeListBean> attributeList;
        private List<CategoryListBean> categoryList;
        private List<IdentifyListBean> identifyList;
        private List<LabelListBean> labelList;
        private List<MediaListBean> mediaList;

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getUnitCharacter() {
            return unitCharacter;
        }

        public void setUnitCharacter(String unitCharacter) {
            this.unitCharacter = unitCharacter;
        }

        public String getAbstractObjectUkid() {
            return abstractObjectUkid;
        }

        public void setAbstractObjectUkid(String abstractObjectUkid) {
            this.abstractObjectUkid = abstractObjectUkid;
        }

        public CmAddressBean getCmAddress() {
            return cmAddress;
        }

        public void setCmAddress(CmAddressBean cmAddress) {
            this.cmAddress = cmAddress;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(String createUserId) {
            this.createUserId = createUserId;
        }

        public String getDefinedName() {
            return definedName;
        }

        public void setDefinedName(String definedName) {
            this.definedName = definedName;
        }

        public String getDefinedType() {
            return definedType;
        }

        public void setDefinedType(String definedType) {
            this.definedType = definedType;
        }

        public String getDefinedUkid() {
            return definedUkid;
        }

        public void setDefinedUkid(String definedUkid) {
            this.definedUkid = definedUkid;
        }

        public String getDefinerId() {
            return definerId;
        }

        public void setDefinerId(String definerId) {
            this.definerId = definerId;
        }

        public String getIntroduction() {
            return introduction;
        }

        public void setIntroduction(String introduction) {
            this.introduction = introduction;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getOwnerUkid() {
            return ownerUkid;
        }

        public void setOwnerUkid(String ownerUkid) {
            this.ownerUkid = ownerUkid;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

        public String getUnitUkid() {
            return unitUkid;
        }

        public void setUnitUkid(String unitUkid) {
            this.unitUkid = unitUkid;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public List<AttributeListBean> getAttributeList() {
            return attributeList;
        }

        public void setAttributeList(List<AttributeListBean> attributeList) {
            this.attributeList = attributeList;
        }

        public List<CategoryListBean> getCategoryList() {
            return categoryList;
        }

        public void setCategoryList(List<CategoryListBean> categoryList) {
            this.categoryList = categoryList;
        }

        public List<IdentifyListBean> getIdentifyList() {
            return identifyList;
        }

        public void setIdentifyList(List<IdentifyListBean> identifyList) {
            this.identifyList = identifyList;
        }

        public List<LabelListBean> getLabelList() {
            return labelList;
        }

        public void setLabelList(List<LabelListBean> labelList) {
            this.labelList = labelList;
        }

        public List<MediaListBean> getMediaList() {
            return mediaList;
        }

        public void setMediaList(List<MediaListBean> mediaList) {
            this.mediaList = mediaList;
        }

        public static class CmAddressBean implements Parcelable {
            /**
             * address : 科技园路
             * addressUkid : 22110500000047088
             * areaId : 330104
             * countryId : CN
             * gsMapPoint : {"createTime":"2017-09-30 14:06:53","createUserId":10002099,"mapPointUkid":22099200000003088,"mapUkid":1,"x":30.306339,"y":120.369759,"z":0}
             */

            private String address = "";
            private String addressUkid;
            private String areaId;
            private String countryId;
            private String city;
            private String county;
            private String province;
            private String district;
            private GsMapPointBean gsMapPoint;

            public String getDistrict() {
                return district;
            }

            public void setDistrict(String district) {
                this.district = district;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getCounty() {
                return county;
            }

            public void setCounty(String county) {
                this.county = county;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getAddressUkid() {
                return addressUkid;
            }

            public void setAddressUkid(String addressUkid) {
                this.addressUkid = addressUkid;
            }

            public String getAreaId() {
                return areaId;
            }

            public void setAreaId(String areaId) {
                this.areaId = areaId;
            }

            public String getCountryId() {
                return countryId;
            }

            public void setCountryId(String countryId) {
                this.countryId = countryId;
            }

            public GsMapPointBean getGsMapPoint() {
                return gsMapPoint;
            }

            public void setGsMapPoint(GsMapPointBean gsMapPoint) {
                this.gsMapPoint = gsMapPoint;
            }

            public static class GsMapPointBean implements Parcelable {
                /**
                 * createTime : 2017-09-30 14:06:53
                 * createUserId : 10002099
                 * mapPointUkid : 22099200000003088
                 * mapUkid : 1
                 * x : 30.306339
                 * y : 120.369759
                 * z : 0.0
                 */

                private String createTime;
                private String createUserId;
                private String mapPointUkid;
                private String mapUkid;
                private double x;
                private double y;
                private double z;

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public String getCreateUserId() {
                    return createUserId;
                }

                public void setCreateUserId(String createUserId) {
                    this.createUserId = createUserId;
                }

                public String getMapPointUkid() {
                    return mapPointUkid;
                }

                public void setMapPointUkid(String mapPointUkid) {
                    this.mapPointUkid = mapPointUkid;
                }

                public String getMapUkid() {
                    return mapUkid;
                }

                public void setMapUkid(String mapUkid) {
                    this.mapUkid = mapUkid;
                }

                public double getX() {
                    return x;
                }

                public void setX(double x) {
                    this.x = x;
                }

                public double getY() {
                    return y;
                }

                public void setY(double y) {
                    this.y = y;
                }

                public double getZ() {
                    return z;
                }

                public void setZ(double z) {
                    this.z = z;
                }

                @Override
                public int describeContents() {
                    return 0;
                }

                @Override
                public void writeToParcel(Parcel dest, int flags) {
                    dest.writeString(this.createTime);
                    dest.writeString(this.createUserId);
                    dest.writeString(this.mapPointUkid);
                    dest.writeString(this.mapUkid);
                    dest.writeDouble(this.x);
                    dest.writeDouble(this.y);
                    dest.writeDouble(this.z);
                }

                public GsMapPointBean() {
                }

                protected GsMapPointBean(Parcel in) {
                    this.createTime = in.readString();
                    this.createUserId = in.readString();
                    this.mapPointUkid = in.readString();
                    this.mapUkid = in.readString();
                    this.x = in.readDouble();
                    this.y = in.readDouble();
                    this.z = in.readDouble();
                }

                public static final Creator<GsMapPointBean> CREATOR = new Creator<GsMapPointBean>() {
                    @Override
                    public GsMapPointBean createFromParcel(Parcel source) {
                        return new GsMapPointBean(source);
                    }

                    @Override
                    public GsMapPointBean[] newArray(int size) {
                        return new GsMapPointBean[size];
                    }
                };
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.address);
                dest.writeString(this.addressUkid);
                dest.writeString(this.areaId);
                dest.writeString(this.countryId);
                dest.writeParcelable(this.gsMapPoint, flags);
            }

            public CmAddressBean() {
            }

            protected CmAddressBean(Parcel in) {
                this.address = in.readString();
                this.addressUkid = in.readString();
                this.areaId = in.readString();
                this.countryId = in.readString();
                this.gsMapPoint = in.readParcelable(GsMapPointBean.class.getClassLoader());
            }

            public static final Creator<CmAddressBean> CREATOR = new Creator<CmAddressBean>() {
                @Override
                public CmAddressBean createFromParcel(Parcel source) {
                    return new CmAddressBean(source);
                }

                @Override
                public CmAddressBean[] newArray(int size) {
                    return new CmAddressBean[size];
                }
            };
        }

        public static class AttributeListBean implements Parcelable {
            /**
             * attributeName : TEST尺寸10005
             * attributeUkid : 201710005
             * createTime : 2017-09-26 20:56:52
             * createUserId : 1000021
             * metaAttributeUkid : 12314141007
             * updateTime : 2017-09-26 20:56:52
             * updateUserId : 1000021
             */

            private String attributeName="";
            private String attributeUkid;
            private String createTime;
            private String createUserId;
            private String metaAttributeUkid;
            private String updateTime;
            private String updateUserId;
            private String attributeValue="";
            private boolean isSelect = true;  //是否选中
            private boolean isFromCategory = false ; //类目下的属性必选
            public boolean isFromCategory() {
                return isFromCategory;
            }

            public void setFromCategory(boolean fromCategory) {
                isFromCategory = fromCategory;
            }
            public String getAttributeName() {
                return attributeName;
            }

            public void setAttributeName(String attributeName) {
                this.attributeName = attributeName;
            }
            public String getAttributeValue() {
                return attributeValue;
            }
            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean isSelect) {
                this.isSelect = isSelect;
            }
            public void setAttributeValue(String attributeValue) {
                this.attributeValue = attributeValue;
            }
            public String getAttributeUkid() {
                return attributeUkid;
            }

            public void setAttributeUkid(String attributeUkid) {
                this.attributeUkid = attributeUkid;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getCreateUserId() {
                return createUserId;
            }

            public void setCreateUserId(String createUserId) {
                this.createUserId = createUserId;
            }

            public String getMetaAttributeUkid() {
                return metaAttributeUkid;
            }

            public void setMetaAttributeUkid(String metaAttributeUkid) {
                this.metaAttributeUkid = metaAttributeUkid;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getUpdateUserId() {
                return updateUserId;
            }

            public void setUpdateUserId(String updateUserId) {
                this.updateUserId = updateUserId;
            }

            public AttributeListBean() {
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.attributeName);
                dest.writeString(this.attributeUkid);
                dest.writeString(this.createTime);
                dest.writeString(this.createUserId);
                dest.writeString(this.metaAttributeUkid);
                dest.writeString(this.updateTime);
                dest.writeString(this.updateUserId);
                dest.writeString(this.attributeValue);
                dest.writeByte(this.isSelect ? (byte) 1 : (byte) 0);
                dest.writeByte(this.isFromCategory ? (byte) 1 : (byte) 0);
            }

            protected AttributeListBean(Parcel in) {
                this.attributeName = in.readString();
                this.attributeUkid = in.readString();
                this.createTime = in.readString();
                this.createUserId = in.readString();
                this.metaAttributeUkid = in.readString();
                this.updateTime = in.readString();
                this.updateUserId = in.readString();
                this.attributeValue = in.readString();
                this.isSelect = in.readByte() != 0;
                this.isFromCategory = in.readByte() != 0;
            }

            public static final Creator<AttributeListBean> CREATOR = new Creator<AttributeListBean>() {
                @Override
                public AttributeListBean createFromParcel(Parcel source) {
                    return new AttributeListBean(source);
                }

                @Override
                public AttributeListBean[] newArray(int size) {
                    return new AttributeListBean[size];
                }
            };
        }

        public static class CategoryListBean implements Parcelable {
            /**
             * categoryTreeUkid : 22110800000003205
             * categoryUkid : 22110300000004219
             * childNodeCount : 0
             * createTime : 2017-10-11 14:55:41
             * createUserId : 260001
             * leafNode : 1
             * level : 4
             * metaCategoryUkid : 52095306576997066
             * name : 莲子
             * parentMetaCategoryUkid : 52095506343026065
             * source : 0
             * updateTime : 2017-10-11 14:55:41
             * updateUserId : 260001
             */

            private String categoryTreeUkid;
            private String categoryUkid;
            private String childNodeCount;
            private String createTime;
            private String createUserId;
            private String leafNode;
            private String level;
            private String metaCategoryUkid;
            private String name;
            private String parentMetaCategoryUkid;
            private String source;
            private String updateTime;
            private String updateUserId;

            public String getCategoryTreeUkid() {
                return categoryTreeUkid;
            }

            public void setCategoryTreeUkid(String categoryTreeUkid) {
                this.categoryTreeUkid = categoryTreeUkid;
            }

            public String getCategoryUkid() {
                return categoryUkid;
            }

            public void setCategoryUkid(String categoryUkid) {
                this.categoryUkid = categoryUkid;
            }

            public String getChildNodeCount() {
                return childNodeCount;
            }

            public void setChildNodeCount(String childNodeCount) {
                this.childNodeCount = childNodeCount;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getCreateUserId() {
                return createUserId;
            }

            public void setCreateUserId(String createUserId) {
                this.createUserId = createUserId;
            }

            public String getLeafNode() {
                return leafNode;
            }

            public void setLeafNode(String leafNode) {
                this.leafNode = leafNode;
            }

            public String getLevel() {
                return level;
            }

            public void setLevel(String level) {
                this.level = level;
            }

            public String getMetaCategoryUkid() {
                return metaCategoryUkid;
            }

            public void setMetaCategoryUkid(String metaCategoryUkid) {
                this.metaCategoryUkid = metaCategoryUkid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getParentMetaCategoryUkid() {
                return parentMetaCategoryUkid;
            }

            public void setParentMetaCategoryUkid(String parentMetaCategoryUkid) {
                this.parentMetaCategoryUkid = parentMetaCategoryUkid;
            }

            public String getSource() {
                return source;
            }

            public void setSource(String source) {
                this.source = source;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getUpdateUserId() {
                return updateUserId;
            }

            public void setUpdateUserId(String updateUserId) {
                this.updateUserId = updateUserId;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.categoryTreeUkid);
                dest.writeString(this.categoryUkid);
                dest.writeString(this.childNodeCount);
                dest.writeString(this.createTime);
                dest.writeString(this.createUserId);
                dest.writeString(this.leafNode);
                dest.writeString(this.level);
                dest.writeString(this.metaCategoryUkid);
                dest.writeString(this.name);
                dest.writeString(this.parentMetaCategoryUkid);
                dest.writeString(this.source);
                dest.writeString(this.updateTime);
                dest.writeString(this.updateUserId);
            }

            public CategoryListBean() {
            }

            protected CategoryListBean(Parcel in) {
                this.categoryTreeUkid = in.readString();
                this.categoryUkid = in.readString();
                this.childNodeCount = in.readString();
                this.createTime = in.readString();
                this.createUserId = in.readString();
                this.leafNode = in.readString();
                this.level = in.readString();
                this.metaCategoryUkid = in.readString();
                this.name = in.readString();
                this.parentMetaCategoryUkid = in.readString();
                this.source = in.readString();
                this.updateTime = in.readString();
                this.updateUserId = in.readString();
            }

            public static final Creator<CategoryListBean> CREATOR = new Creator<CategoryListBean>() {
                @Override
                public CategoryListBean createFromParcel(Parcel source) {
                    return new CategoryListBean(source);
                }

                @Override
                public CategoryListBean[] newArray(int size) {
                    return new CategoryListBean[size];
                }
            };
        }

        public static class IdentifyListBean implements Parcelable {
            /**
             * createTime : 2017-10-25 10:32:09
             * createUserId : 10001977
             * identifyCode : 888000009900JKIGHG11
             * identifyName : 0
             * identifyUkid : 22123300000006251
             * updateTime : 2017-10-25 10:32:09
             */

            private String createTime;
            private String createUserId;
            private String identifyCode;
            private String identifyName;
            private String identifyUkid;
            private String updateTime;

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getCreateUserId() {
                return createUserId;
            }

            public void setCreateUserId(String createUserId) {
                this.createUserId = createUserId;
            }

            public String getIdentifyCode() {
                return identifyCode;
            }

            public void setIdentifyCode(String identifyCode) {
                this.identifyCode = identifyCode;
            }

            public String getIdentifyName() {
                return identifyName;
            }

            public void setIdentifyName(String identifyName) {
                this.identifyName = identifyName;
            }

            public String getIdentifyUkid() {
                return identifyUkid;
            }

            public void setIdentifyUkid(String identifyUkid) {
                this.identifyUkid = identifyUkid;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.createTime);
                dest.writeString(this.createUserId);
                dest.writeString(this.identifyCode);
                dest.writeString(this.identifyName);
                dest.writeString(this.identifyUkid);
                dest.writeString(this.updateTime);
            }

            public IdentifyListBean() {
            }

            protected IdentifyListBean(Parcel in) {
                this.createTime = in.readString();
                this.createUserId = in.readString();
                this.identifyCode = in.readString();
                this.identifyName = in.readString();
                this.identifyUkid = in.readString();
                this.updateTime = in.readString();
            }

            public static final Creator<IdentifyListBean> CREATOR = new Creator<IdentifyListBean>() {
                @Override
                public IdentifyListBean createFromParcel(Parcel source) {
                    return new IdentifyListBean(source);
                }

                @Override
                public IdentifyListBean[] newArray(int size) {
                    return new IdentifyListBean[size];
                }
            };
        }

        public static class LabelListBean implements Parcelable {
            /**
             * createTime : 2017-09-20 19:15:05
             * createUserId : 10000001
             * labelName : 彼此彼此吧
             * labelType : 0
             * labelUkid : 22089200000001034
             * ownerUkid : 10001359
             * updateTime : 2017-09-20 19:15:05
             * updateUserId : 10000001
             */

            private String createTime = "";
            private String createUserId= "";
            private String labelName= "";
            private String labelType= "";
            private String labelUkid= "";
            private String ownerUkid= "";
            private String updateTime= "";
            private String updateUserId= "";
            private boolean isSelect = true ;

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getCreateUserId() {
                return createUserId;
            }

            public void setCreateUserId(String createUserId) {
                this.createUserId = createUserId;
            }

            public String getLabelName() {
                return labelName;
            }

            public void setLabelName(String labelName) {
                this.labelName = labelName;
            }

            public String getLabelType() {
                return labelType;
            }

            public void setLabelType(String labelType) {
                this.labelType = labelType;
            }

            public String getLabelUkid() {
                return labelUkid;
            }

            public void setLabelUkid(String labelUkid) {
                this.labelUkid = labelUkid;
            }

            public String getOwnerUkid() {
                return ownerUkid;
            }

            public void setOwnerUkid(String ownerUkid) {
                this.ownerUkid = ownerUkid;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getUpdateUserId() {
                return updateUserId;
            }

            public void setUpdateUserId(String updateUserId) {
                this.updateUserId = updateUserId;
            }

            public LabelListBean() {
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.createTime);
                dest.writeString(this.createUserId);
                dest.writeString(this.labelName);
                dest.writeString(this.labelType);
                dest.writeString(this.labelUkid);
                dest.writeString(this.ownerUkid);
                dest.writeString(this.updateTime);
                dest.writeString(this.updateUserId);
                dest.writeByte(this.isSelect ? (byte) 1 : (byte) 0);
            }

            protected LabelListBean(Parcel in) {
                this.createTime = in.readString();
                this.createUserId = in.readString();
                this.labelName = in.readString();
                this.labelType = in.readString();
                this.labelUkid = in.readString();
                this.ownerUkid = in.readString();
                this.updateTime = in.readString();
                this.updateUserId = in.readString();
                this.isSelect = in.readByte() != 0;
            }

            public static final Creator<LabelListBean> CREATOR = new Creator<LabelListBean>() {
                @Override
                public LabelListBean createFromParcel(Parcel source) {
                    return new LabelListBean(source);
                }

                @Override
                public LabelListBean[] newArray(int size) {
                    return new LabelListBean[size];
                }
            };
        }

        public static class MediaListBean implements Parcelable {
            /**
             * createTime : 2017-10-25 10:32:09
             * createUserId : 10001977
             * fileExt : JPEG
             * mediaGroupUkid : 22123500000006221
             * mediaName : d478af67e1774bf4a3c5ee2efff7f0b6.jpeg
             * mediaSize : 71735
             * mediaStatus : 1
             * mediaType : 0
             * mediaUkid : 22123600000006219
             * relatedUrl : https://192.168.6.93/resource/d478af67e1774bf4a3c5ee2efff7f0b6.jpeg
             * storeType : L
             * updateTime : 2017-10-25 10:32:09
             */

            private String createTime;
            private String createUserId;
            private String fileExt;
            private String mediaGroupUkid;
            private String relationUkid;
            private String mediaName;
            private String mediaSize;
            private String mediaStatus;
            private String mediaType;
            private String mediaUkid;
            private String relatedUrl;
            private String storeType;
            private String updateTime;
            private List<SubMediasBean> subMedias;

            public String getRelationUkid() {
                return relationUkid;
            }

            public void setRelationUkid(String relationUkid) {
                this.relationUkid = relationUkid;
            }

            public List<SubMediasBean> getSubMedias() {
                return subMedias;
            }

            public void setSubMedias(List<SubMediasBean> subMedias) {
                this.subMedias = subMedias;
            }

            public static class SubMediasBean implements Parcelable {
                /**
                 * createTime : 2017-11-09 19:43:44
                 * createUserId : 999
                 * mediaUkid : 22139400000044000
                 * subMediaType : SMALL_IMAGE  MEDIUM_IMAGE BIG_IMAGE
                 * subMediaUkid : 22139200000046000
                 * subMediaUrl : https://192.168.6.93/item/9fa9850cb6184da8851a2fad3f2a0a73Small.jpg
                 * updateTime : 2017-11-09 19:43:44
                 * updateUserId : 999
                 */

                private String createTime;
                private String createUserId;
                private String mediaUkid;
                private String subMediaType;
                private String subMediaUkid;
                private String subMediaUrl;
                private String updateTime;
                private String updateUserId;

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public String getCreateUserId() {
                    return createUserId;
                }

                public void setCreateUserId(String createUserId) {
                    this.createUserId = createUserId;
                }

                public String getMediaUkid() {
                    return mediaUkid;
                }

                public void setMediaUkid(String mediaUkid) {
                    this.mediaUkid = mediaUkid;
                }

                public String getSubMediaType() {
                    return subMediaType;
                }

                public void setSubMediaType(String subMediaType) {
                    this.subMediaType = subMediaType;
                }

                public String getSubMediaUkid() {
                    return subMediaUkid;
                }

                public void setSubMediaUkid(String subMediaUkid) {
                    this.subMediaUkid = subMediaUkid;
                }

                public String getSubMediaUrl() {
                    return subMediaUrl;
                }

                public void setSubMediaUrl(String subMediaUrl) {
                    this.subMediaUrl = subMediaUrl;
                }

                public String getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(String updateTime) {
                    this.updateTime = updateTime;
                }

                public String getUpdateUserId() {
                    return updateUserId;
                }

                public void setUpdateUserId(String updateUserId) {
                    this.updateUserId = updateUserId;
                }

                @Override
                public int describeContents() {
                    return 0;
                }

                @Override
                public void writeToParcel(Parcel dest, int flags) {
                    dest.writeString(this.createTime);
                    dest.writeString(this.createUserId);
                    dest.writeString(this.mediaUkid);
                    dest.writeString(this.subMediaType);
                    dest.writeString(this.subMediaUkid);
                    dest.writeString(this.subMediaUrl);
                    dest.writeString(this.updateTime);
                    dest.writeString(this.updateUserId);
                }

                public SubMediasBean() {
                }

                protected SubMediasBean(Parcel in) {
                    this.createTime = in.readString();
                    this.createUserId = in.readString();
                    this.mediaUkid = in.readString();
                    this.subMediaType = in.readString();
                    this.subMediaUkid = in.readString();
                    this.subMediaUrl = in.readString();
                    this.updateTime = in.readString();
                    this.updateUserId = in.readString();
                }

                public static final Creator<SubMediasBean> CREATOR = new Creator<SubMediasBean>() {
                    @Override
                    public SubMediasBean createFromParcel(Parcel source) {
                        return new SubMediasBean(source);
                    }

                    @Override
                    public SubMediasBean[] newArray(int size) {
                        return new SubMediasBean[size];
                    }
                };
            }
            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getCreateUserId() {
                return createUserId;
            }

            public void setCreateUserId(String createUserId) {
                this.createUserId = createUserId;
            }

            public String getFileExt() {
                return fileExt;
            }

            public void setFileExt(String fileExt) {
                this.fileExt = fileExt;
            }

            public String getMediaGroupUkid() {
                return mediaGroupUkid;
            }

            public void setMediaGroupUkid(String mediaGroupUkid) {
                this.mediaGroupUkid = mediaGroupUkid;
            }

            public String getMediaName() {
                return mediaName;
            }

            public void setMediaName(String mediaName) {
                this.mediaName = mediaName;
            }

            public String getMediaSize() {
                return mediaSize;
            }

            public void setMediaSize(String mediaSize) {
                this.mediaSize = mediaSize;
            }

            public String getMediaStatus() {
                return mediaStatus;
            }

            public void setMediaStatus(String mediaStatus) {
                this.mediaStatus = mediaStatus;
            }

            public String getMediaType() {
                return mediaType;
            }

            public void setMediaType(String mediaType) {
                this.mediaType = mediaType;
            }

            public String getMediaUkid() {
                return mediaUkid;
            }

            public void setMediaUkid(String mediaUkid) {
                this.mediaUkid = mediaUkid;
            }

            public String getRelatedUrl() {
                return relatedUrl;
            }

            public void setRelatedUrl(String relatedUrl) {
                this.relatedUrl = relatedUrl;
            }

            public String getStoreType() {
                return storeType;
            }

            public void setStoreType(String storeType) {
                this.storeType = storeType;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public MediaListBean() {
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.createTime);
                dest.writeString(this.createUserId);
                dest.writeString(this.fileExt);
                dest.writeString(this.mediaGroupUkid);
                dest.writeString(this.relationUkid);
                dest.writeString(this.mediaName);
                dest.writeString(this.mediaSize);
                dest.writeString(this.mediaStatus);
                dest.writeString(this.mediaType);
                dest.writeString(this.mediaUkid);
                dest.writeString(this.relatedUrl);
                dest.writeString(this.storeType);
                dest.writeString(this.updateTime);
                dest.writeList(this.subMedias);
            }

            protected MediaListBean(Parcel in) {
                this.createTime = in.readString();
                this.createUserId = in.readString();
                this.fileExt = in.readString();
                this.mediaGroupUkid = in.readString();
                this.relationUkid = in.readString();
                this.mediaName = in.readString();
                this.mediaSize = in.readString();
                this.mediaStatus = in.readString();
                this.mediaType = in.readString();
                this.mediaUkid = in.readString();
                this.relatedUrl = in.readString();
                this.storeType = in.readString();
                this.updateTime = in.readString();
                this.subMedias = new ArrayList<SubMediasBean>();
                in.readList(this.subMedias, SubMediasBean.class.getClassLoader());
            }

            public static final Creator<MediaListBean> CREATOR = new Creator<MediaListBean>() {
                @Override
                public MediaListBean createFromParcel(Parcel source) {
                    return new MediaListBean(source);
                }

                @Override
                public MediaListBean[] newArray(int size) {
                    return new MediaListBean[size];
                }
            };
        }

        public ListBean() {
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.abstractObjectUkid);
            dest.writeParcelable(this.cmAddress, flags);
            dest.writeString(this.createTime);
            dest.writeString(this.createUserId);
            dest.writeString(this.definedName);
            dest.writeString(this.definedType);
            dest.writeString(this.definedUkid);
            dest.writeString(this.definerId);
            dest.writeString(this.introduction);
            dest.writeString(this.name);
            dest.writeString(this.ownerUkid);
            dest.writeString(this.status);
            dest.writeString(this.thumbnail);
            dest.writeString(this.type);
            dest.writeString(this.unitName);
            dest.writeString(this.unitUkid);
            dest.writeString(this.unitCharacter);
            dest.writeString(this.updateTime);
            dest.writeTypedList(this.attributeList);
            dest.writeTypedList(this.categoryList);
            dest.writeTypedList(this.identifyList);
            dest.writeTypedList(this.labelList);
            dest.writeTypedList(this.mediaList);
        }

        protected ListBean(Parcel in) {
            this.abstractObjectUkid = in.readString();
            this.cmAddress = in.readParcelable(CmAddressBean.class.getClassLoader());
            this.createTime = in.readString();
            this.createUserId = in.readString();
            this.definedName = in.readString();
            this.definedType = in.readString();
            this.definedUkid = in.readString();
            this.definerId = in.readString();
            this.introduction = in.readString();
            this.name = in.readString();
            this.ownerUkid = in.readString();
            this.status = in.readString();
            this.thumbnail = in.readString();
            this.type = in.readString();
            this.unitName = in.readString();
            this.unitUkid = in.readString();
            this.unitCharacter = in.readString();
            this.updateTime = in.readString();
            this.attributeList = in.createTypedArrayList(AttributeListBean.CREATOR);
            this.categoryList = in.createTypedArrayList(CategoryListBean.CREATOR);
            this.identifyList = in.createTypedArrayList(IdentifyListBean.CREATOR);
            this.labelList = in.createTypedArrayList(LabelListBean.CREATOR);
            this.mediaList = in.createTypedArrayList(MediaListBean.CREATOR);
        }

        public static final Creator<ListBean> CREATOR = new Creator<ListBean>() {
            @Override
            public ListBean createFromParcel(Parcel source) {
                return new ListBean(source);
            }

            @Override
            public ListBean[] newArray(int size) {
                return new ListBean[size];
            }
        };
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.page);
        dest.writeInt(this.size);
        dest.writeInt(this.total);
        dest.writeList(this.list);
    }

    public ModifyDeleteBean() {
    }

    protected ModifyDeleteBean(Parcel in) {
        this.page = in.readInt();
        this.size = in.readInt();
        this.total = in.readInt();
        this.list = new ArrayList<ListBean>();
        in.readList(this.list, ListBean.class.getClassLoader());
    }

    public static final Parcelable.Creator<ModifyDeleteBean> CREATOR = new Parcelable.Creator<ModifyDeleteBean>() {
        @Override
        public ModifyDeleteBean createFromParcel(Parcel source) {
            return new ModifyDeleteBean(source);
        }

        @Override
        public ModifyDeleteBean[] newArray(int size) {
            return new ModifyDeleteBean[size];
        }
    };
}
